package com.lanyam.travel.base.entity;


import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.format.annotation.DateTimeFormat;


@Data
public class DistrTeam {

    /*
     * 
     */
    @JsonProperty(value="id")
    private String id;

    /*
     * 团队名称
     */
    @JsonProperty(value="teamName")
    private String teamName;

    /*
     * 创建人
     */
    @JsonProperty(value="createUserid")
    private String createUserid;

    /*
     * 创建时间
     */
    @JsonProperty(value="createTime")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;

    /*
     * 父级团队(如果是一级团队父级则为#)
     */
    @JsonProperty(value="fatherTeamid")
    private String fatherTeamid;

    /*
     * 团队层级
     */
    @JsonProperty(value="dislevel")
    private Integer dislevel;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}

	public String getCreateUserid() {
		return createUserid;
	}

	public void setCreateUserid(String createUserid) {
		this.createUserid = createUserid;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getFatherTeamid() {
		return fatherTeamid;
	}

	public void setFatherTeamid(String fatherTeamid) {
		this.fatherTeamid = fatherTeamid;
	}

	public Integer getDislevel() {
		return dislevel;
	}

	public void setDislevel(Integer dislevel) {
		this.dislevel = dislevel;
	}
    
    

}